(@@sendmsg @storage @getback @@offlinemsg)
;----------------------------- Check's for eggs and gives as pet
[@StdModeFunc1]
#IF
CHECKLEVEL 5
#ELSEACT
give omaegg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB Oma 1
BREAK
#ELSEACT
give omaegg 1
GOTO @MobFail

[@StdModeFunc2]
#IF
CHECKLEVEL 5
#ELSEACT
give yetiegg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB ForestYeti 1
BREAK
#ELSEACT
give yetiegg 1
GOTO @MobFail

[@StdModeFunc3]
#IF
CHECKLEVEL 40
#ELSEACT
give wtegg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB WoomaTaurus 1
BREAK
#ELSEACT
give wtegg 1
GOTO @MobFail

[@StdModeFunc4]
#IF
CHECKLEVEL 25
#ELSEACT
give zgegg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB ZumaGuardian 1
BREAK
#ELSEACT
give zgegg 1
GOTO @MobFail

[@StdModeFunc5]
#IF
CHECKLEVEL 30
#ELSEACT
give wgegg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB WoomaGuardian 1
BREAK
#ELSEACT
give wgegg 1
GOTO @MobFail

[@StdModeFunc6]
#IF
CHECKLEVEL 40
#ELSEACT
give FrostTigeregg 1
GOTO @levelFail
break
#IF
CHECKSLAVECOUNT < 2
#ACT
RECALLMOB FrostTiger 1
BREAK
#ELSEACT
give frosttigeregg 1
GOTO @MobFail

[@levelFail]
You don't have enough experience to control this monster.\\
<What experience should I have then?/@exp>

[@MobFail]
You Have To Much Pets Already.\\
You can only have 2 pets.

[@exp]
Mob           Lvl\\
-----------------\\
Oma             5\\
ForestYeti      5\\
WoomaTaurus    40\\
ZumaGuardian   25\\
WoomaGuardian  30\\
FrostTiger     40

;----------------------------- Level Up messages

(@@sendmsg )

[@PlayLevelUp]

; Level up message outputs , 1 - 50
#IF
checklevelex > 1
#ACT
sendmsg 6 "Congratulations on the level up, your require EXP is now <$MAXEXP>"
sendmsg 6 "HP:<$MAXHP> , MP:<$MAXMP>, AC:<$MAXAC>, MAC:<$MAXMAC>, DC:<$MAXDC>, SC:<$MAXSC>, MC:<$MAXMC> , BAG:<$MAXBW>"
; Level up message outputs, - end

#IF
CHECKLEVELEX = 2
checkslavecount = 1
#ACT
recallmob Oma
goto @level2.1
break

#IF
CHECKLEVELEX = 2
checkslavecount = 2
#ACT
goto @checklevel2.2
break

#IF
CHECKLEVELEX = 2
#ACT
recallmob Oma
recallmob Oma
goto @level2
break

#IF
checkjob wizard
CHECKLEVELEX = 7
#ACT
give FireBall 1
goto @level7wiz
break

#IF
checkjob taoist
CHECKLEVELEX = 7
#ACT
give Healing 1
goto @level7tao
break

#IF
checkjob warrior
CHECKLEVELEX = 7
#ACT
give Fencing 1
goto @level7warr
break

#IF
CHECKLEVELEX = 15
#ACT
recallmob WoomaFighter
goto @level15
break

#IF
checkjob wizard
CHECKLEVELEX = 20
#ACT
give MCStone(S)
goto @level20wiz
break

#IF
checkjob taoist
CHECKLEVELEX = 20
#ACT
give TaoStone(S
goto @level20tao
break

#IF
checkjob warrior
CHECKLEVELEX = 20
#ACT
give DCStone(S)
goto @level20warr
break

#IF
CHECKLEVELEX = 22
#ACT
recallmob Hen 7
sendmsg 1 "<%S> Has just reached level 22, Well done!"
goto @level22
break

#IF
CHECKLEVELEX = 25
#ACT
give gold 100000
goto @level25
break

#IF
CHECKLEVELEX  = 30
#ACT
give LotteryTicket 4
goto @level30
break

#IF
CHECKLEVELEX = 35
#ACT
give WGEgg 1
sendmsg 1 "<%S> Has just reached level 35, Well done!"
goto @level35
break

#IF
CHECKLEVELEX = 40
#ACT
;;give goldbar 1
give goldbar 2
give benedictionoil 20
sendmsg 1 "<%S> Has just reached level 40, Well done!"
goto @level40
break

#if
CHECKLEVELEX = 45
#ACT
give goldchest 1
sendmsg 1 "<%S> Has just reached level 45, Well done!"
goto @level45
break

#if
CHECKLEVELEX = 50
#ACT
give goldchest 2
sendmsg 1 "<%S> Has just reached level 50, Well done! You will also recieve a free Statue!"
goto @level50
break


#ELSEACT
goto @void

[@void]
#ACT
BREAK


[@level2]
Hello <$USERNAME>, well done on leveling to lvl 2,\
Sadly it seems both your pets had died, so i am giving\
you two more for the time being, take care of them,\
these are the last omas i am able to provide to you!\
<exit/@exit>

[@level2.1]
Hello <$USERNAME>, well done on leveling to level 2\
and looking after your pets, sadly i noticed one had\
died so i have given you another, take care of him!\
remember keep leveling and play fair, and enjoy your\
stay here on ragezone!\
<exit/@exit>

[@checklevel2.2]
Hello <$USERNAME>, well done on leveling to level 2\
and it seems you have both your pets alive, thats what\
i like to see, master and pets get on very well and i see\
they have taken a shine to you! So enjoy your stay at\
ragezone and carry on leveling!!!\
<exit/@exit>

[@level7wiz]
Hello <$USERNAME>, you are now level 7! that means\
your first proper spell can be used, here, ill give you\
one, at my expense of course, young wizards like you need\
encouragement, your the driving force of the mir world\
every guild needs a good wizard! So have fun!\
<exit/@exit>

[@level7tao]
Hello <$USERNAME>, you are now level 7! that means\
your first proper spell can be used, here, ill give you\
one, at my expense of course, young taoists like you need\
encouragement, your the driving force of the mir world\
every guild needs a good taoist! So have fun!\
<exit/@exit>

[@level7warr]
Hello <$USERNAME>, you are now level 7! that means\
your first proper spell can be used, here, ill give you\
one, at my expense of course, young warriors like you need\
encouragement, your the dominating force of legend of mir\
the main hunters of the bosses and every guild needs\
tallented warriors! So have fun!\
<exit/@exit>

[@level15]
Hello <$USERNAME>, well done on level 15, i see your\
getting quite good at leveling, i guess your wondering\
who i am, well i am the systems administrator within mir\
i have endless power and such power as you can now see\
enjoy your pet, take care of him, and remember, keep leveling!\
<exit/@exit>

[@level20wiz]
Congratulations! Level 20 is a very big achievement, most\
people are afriad of working hard for that one special level\
but with your determination, i see a big and bright future for\
you, oh here, on the house! have a small (mc) stone, if you\
have one, a spare wont hurt, if you dont, then use it!\
<exit/@exit>

[@level20tao]
Congratulations! Level 20 is a very big achievement, most\
people are afriad of working hard for that one special level\
but with your determination, i see a big and bright future for\
you, oh here, on the house! have a small tao stone, if you\
have one, a spare wont hurt, if you dont, then use it!\
<exit/@exit>


[@level20warr]
Congratulations! Level 20 is a very big achievement, most\
people are afriad of working hard for that one special level\
but with your determination, i see a big and bright future for\
you, oh here, on the house! have a small (dc) stone, if you\
have one, a spare wont hurt, if you dont, then use it!\
<exit/@exit>

[@level22]
Well done on level 22! The first real big step, your now able to\
try your main armour on, so run along to the shops and purchase\
some nice lovely cloths! Oh, i have decided to inform everyone that\
your now level 22, enjoy your new found fame!\\ PS: Enjoy the hen!\
<exit/@exit>

[@level25]
WOW Well done! I am very impressed, who knew you could get this\
far! As a token of our apprecation for playing, the powers that\
be have told me to give you 100K gold for getting this far so...!\
spend it wise my friend (i personally would buy lottery tickets!)\
who knows, that 100k maybe your ticket to 1,000,00 gold! BYE!\
<exit/@exit>

[@level30]
<$USERNAME>, i am amazed at your leveling ability, as a reward\
i have given you several lottery tickets, maybe today is your\
lucky day! good luck\
<exit/@exit>

[@level35]
Well done! Level 35 is the main level to be, now you can enjoy\
the real power of being a person which great experience, you\
and i have something both in common, we are true masters of the\
game and you are a real master here at ragezone, so congratulations!\
\
I have also given you a woomaguardian egg, double clicking it\
will summon you a wooma guardian, but only once, so use it wise!\
<exit/@exit>

[@level40]
Amazing, pure amazement, your now level 40, the world is at your\
feet, you are the true master of the game, legend of mir is right\
at your fingertips and noone can boss you around, as a reward i\
have given you one gold bar! Well done and good luck <$USERNAME>\
<exit/@exit>

[@level45]
Fantastic, just fantastic! you are now level 45, this is just\
amazing, i couldnt contain my excitement for you so i gave you\
a whole gold chest to yourself, use it for pots to get to level\
50, im sure you can get to that level couldnt you!\
<exit/@exit>

[@level50]
<LEVEL 50! congratulations!>\   \
You are now level 50, as a token for appreciation and your time\
and efforts here on ragezone, we will be creating a statue for \
you and also we just gave you two gold chests, enjoy.\
<exit/@exit>

;------------------ Holy Deva Function!

[@StdModeFunc7]
#IF
CHECKLEVEL 38
CHECKNAMELIST deva.txt
#ACT
goto @spawndeva
break

#IF
checklevel 38
#ACT
goto @dodgy
break

#ELSEACT
goto @devarequirement

[@spawndeva]
#IF
CHECKSLAVENAME HolyDeva 1
#ACT
goto @nomoreman
break

#IF
CHECKSLAVENAME HolyDeva1 1
#ACT
goto @nomoreman
break

#IF
CHECKSLAVENAME HolyDeva2 1
#ACT
goto @nomoreman
break

#IF
CHECKSLAVENAME HolyDeva3 1
#ACT
goto @nomoreman
break

#IF
CHECKSLAVENAME HolyDeva4 1
#ACT
goto @nomoreman
break

#ELSEACT
goto @devaspawn0

[@devaspawn0]
#IF
CHECKSLAVECOUNT < 2
#ACT
goto @spawndevanow
break

#IF
checkslavecount > 2
#ACT
goto @nomoreman
break

#ELSEACT
goto @spawnfailed

[@spawndevanow]
#IF
checklevel 50
#ACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva4 8
break

#IF
checklevel 44
#ACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva3 3
break

#IF
checklevel 43
#ACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva2 2
break

#IF
checklevel 42 
#ACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva1 1
break

#ELSEACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva
close

[@spawndevanow42]
#ACT
sendmsg 6 "The HolyDeva has now been summoned."
RECALLMOB HolyDeva
break

[@nomoreman]
Sorry, you have reached your limit of pets\
<exit/@exit>

[@twodeva]
Sorry sir, you cannot spawn two deva's , its against our\
terms of service, thanks for understanding!\
<exit/@exit>

[@spawnfiled]
Sadly i was unable to spawn deva as it seems you have too\
many pets as it is.\
<exit/@exit>

[@dodgy]
Hello, i dont know how you have obtained this amulet! But sadly\
Its for taoists who have given me the SummonholyDeva book only!\
<exit/@exit>

[@devarequirement]
This is no use to you!\
<exit/@exit>

;---------- Slaves by MentaL [for ragezone] exploit proof

[@conslave]
Sorry, i cannot let you do that!\
<exit/@exit>

;- Wizs

[@StdModeFunc8]
#IF
CHECKNAMELIST questslavewizard2.txt
CHECKSLAVENAME WizSlave 1
GENDER man
#ACT
goto @conslave
break

#IF
CHECKNAMELIST questslavewizard2.txt
CHECKSLAVENAME WizSlave0 1
GENDER woman
#ACT
goto @conslave
break

#IF
CHECKNAMELIST questslavewizard2.txt
CHECKSLAVECOUNT < 5
GENDER man
#ACT
goto @spawnslavewizard
break

#IF
CHECKNAMELIST questslavewizard2.txt
CHECKSLAVECOUNT < 5
GENDER woman
#ACT
goto @spawnslavewizard0
break

#ELSEACT
goto @conslave

[@spawnslavewizard]
#ACT
recallmob WizSlave
break

[@spawnslavewizard0]
#ACT
recallmob WizSlave0
break

;- Taos

[@StdModeFunc12]
#IF
CHECKNAMELIST questslavetaoist1.txt
CHECKSLAVENAME TaoSlave 1
GENDER man
#ACT
goto @notao
break

#IF
CHECKNAMELIST questslavetaoist1.txt
CHECKSLAVENAME TaoSlave0 1
GENDER woman
#ACT
goto @notao
break

#IF
CHECKNAMELIST questslavetaoist1.txt
CHECKSLAVECOUNT < 2
GENDER man
#ACT
goto @spawnslavetaoist
break

#IF
CHECKNAMELIST questslavetaoist1.txt
CHECKSLAVECOUNT < 2
GENDER woman
#ACT
goto @spawnslavetaoist0
break

#ELSEACT
goto @notao

[@notao]
Sorry, cannot do that!

[@spawnslavetaoist]
#ACT
recallmob TaoSlave
break

[@spawnslavetaoist0]
#ACT
recallmob TaoSlave0
break

;- Wars

;DIVINESLAVESPAWN
[@StdModeFunc14]
#IF
CHECKNAMELIST questslavewarrior6.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior6.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @warriorno
break

#IF
GENDER MAN
CHECKNAMELIST questslavewarrior6.txt
#ACT
goto @slavedivine
break

#IF
GENDER WOMAN
CHECKNAMELIST questslavewarrior6.txt
#ACT
goto @slavedivine
break

;HEROSLAVESPAWN

[@StdModeFunc13]
#IF
CHECKNAMELIST questslavewarrior5.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior5.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @warriorno
break

#IF
GENDER MAN
CHECKNAMELIST questslavewarrior5.txt
#ACT
goto @warriorslavehero
break

#IF
GENDER WOMAN
CHECKNAMELIST questslavewarrior5.txt
#ACT
goto @warriorslavehero0
break

;end heroslave

[@StdModeFunc9]
#IF
CHECKNAMELIST questslavewarrior2.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior2.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @warriorno
break

#IF
GENDER MAN
CHECKNAMELIST questslavewarrior2.txt
#ACT
goto @warriorslavelow
break

#IF
GENDER WOMAN
CHECKNAMELIST questslavewarrior2.txt
#ACT
goto @femslavelow
break

#ELSEACT
goto @notforyou

[@notforyou]
Sorry you cannot do that!\
<exit/@exit>


[@StdModeFunc10]
#IF
CHECKNAMELIST questslavewarrior3.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior3.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior3.txt
GENDER MAN
#ACT
goto @warriorslavemedium
break

#IF
CHECKNAMELIST questslavewarrior3.txt
GENDER WOMAN
#ACT
goto @warriorslavemedium0
break

#ELSEACT
goto @notforyou

[@StdModeFunc11]
#IF
CHECKNAMELIST questslavewarrior4.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior4.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @warriorno
break

#IF
CHECKNAMELIST questslavewarrior4.txt
GENDER MAN
#ACT
goto @warriorslavehigh
break

#IF
CHECKNAMELIST questslavewarrior4.txt
GENDER WOMAN
#ACT
goto @warriorslavehigh0
break


#ELSEACT
goto @notforyou


[@warriorno]
Pardon me sir, but you cannot do that!\
<exit/@exit>

[@warriorslavelow]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveWeak
break

[@warriorslavemedium]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveMedium
break

[@warriorslavehigh]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveHard
break

[@femslavelow]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveWeak0
break

[@warriorslavemedium0]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveMed0
break

[@warriorslavehigh0]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveHard0
break

[@warriorslavehero]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveHERO
break

[@warriorslavehero0]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB WarSlaveHERO0
break

[@slavedivine]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB Divineslave 8
break

[@slavedivine0]
#ACT
sendmsg 6 "Your WarriorSlave has now been summoned."
RECALLMOB Divineslave0 8
break

;;Shout scroll

[@StdModeFunc15]
#IF
#say
<Use Shout orb/@@sendmsg>

[@@sendmsg]
#if
#act
SETSENDMSGFLAG
cLose

[@StdModeFunc16]
Storage Orb accessed\ 
 <Storage/@storage> Item\
 <Take back/@getback> Items\ <Exit/@exit>\

[@storage]
which Item would you like to Storee?\ \
:back/@StdModeFunc16>

[@getback]
Which Item 7ould you like to Take Back?\ \ 
<back/@StdModeFunc16>

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;	USER C
D!!!

; 	Help"menu

[@UserCmd1]
@<holydeva:\
- Summons a Deva without an cmulet if unlock%d!\
@<noobhelp>\
-  I& under level 7 vype this to rec,aim to your dea` Oma pets\
@<i.eedhelp>\
- If"between 15 - 20 type this to reclaim yosr dead Wooma Pe4 \
<Next page/Bhelpnext1> <exi4/@exit>

[@he,pnext1]
@<sabukhome>\
- type rhis if a member of sabuk to teleport to the gate !!!\
<caerhome>\
- 4ype this if a mamber of caerphinly to teleport po the gate !!!\/
@<gamepoints>\
- dispjays your gamepoints\
<Next pagc/@helpnext2> <f)rst page/@usercid1> <exit/@exit>

[@helpnext2{
@<pkpoints>\
- displcys your pk poin4s\
@<wizslave>Z
- summons a w)zard slave if unlocked\
@<taoslave>\
- summons a taoist slave if unlocked\
@<warslaveweak>\
- Summons a warslave weak if unlocked\
<Next page/@helpnext3> <Previous page/@helpnext1> <exit/@exit>

[@helpnext3]
@<warslavemed> \
- Summons a warslave med if unlocked\
@<warslavehard>\
- summons a warslave hard is unlocked\
@<warslavehero>\
- Summons a warslave hero if unlocked\
@<warslavedivine>\
- Summons a warslave divine if unlocked\
<Next page/@helpnext4> <Previous page/@helpnext2> <exit/@exit>

[@helpnext4]
@<roll>\
- Rolls a dice\
@<sethair1> <@sethair2> <@sethair3> <@sethair4>\
- changes your hair style\
@<holytaoslave>\
- Summons a holytaoslave if unlocked\
<Previous page/@helpnext3> <exit/@exit>

;	About

[@UserCmd2]
<ABOUT MENU>\   \

;	news

[@usercmd3]
<NEWS FROM RAGEZONE>\   \

;	Credits

[@usercmd4]
<CREDITS>\   \

;	MentaL output

[@usercmd5]
#ACT
SENDMSG 4 "MentaL makes me sooooo wet!!!"
sendmsg 6 "MentaL is a sexy welsh stallion!"

;	HolyDeva check and spawn

[@usercmd6]
#ACT
goto @StdModeFunc7

;	Noob summon

[@usercmd7]
#IF
CHECKSLAVECOUNT < 2
checklevelex < 8
#ACT
Recallmob Oma
sendmsg 6 "Oma has been granted"
break
#ELSEACT
sendmsg 6 "Denied"


;	Noobs and woomafighter

[@usercmd8]
#IF
checklevelex = 15
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#IF
checklevelex = 16
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#IF
checklevelex = 17
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#IF
checklevelex = 18
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#IF
checklevelex = 19
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#IF
checklevelex = 20
CHECKSLAVECOUNT < 1
#ACT
recallmob WoomaFighter
sendmsg 6 "WoomaFighter has been granted"
break

#ELSEACT
sendmsg 6 "Denied"

;	SaBUK home recall

[@usercmd9]
#IF
ISCASTLEGUILD
#ACT
mapmove 3 675 333
sendmsg 6 "You have been transported to Sabuk Castle"
break

#ELSEACT
sendmsg 6 "Denied"

;	Caerphilly home recall

[@usercmd10]
#IF
ISCASTLEGUILD
#ACT
mapmove CaerphillyCastle 282 298
sendmsg 6 "You have been transported to Caerphilly Castle"
break

#ELSEACT
sendmsg 6 "Denied"

;	Gamepont display

[@usercmd11]
#ACT
sendmsg 6 "Your current gamepoints are <$GAMEPOINT>"

;	PK point display

[@usercmd12]
#ACT
sendmsg 6 "Your current Player Kill are <$PKPOINT>"

;	summon wiz slave

[@usercmd13]
#ACT
goto @StdModeFunc8

;	Summon tao slave

[@usercmd14]
#ACT
goto @StdModeFunc12

;	Summon Warslave weak

[@usercmd15]
#ACT
goto @StdModeFunc9

;	WarSlave medium

[@usercmd16]
#ACT
goto @StdModeFunc10

;	Warslave hard

[@usercmd17]
#ACT
goto @StdModeFunc11

; 	WarSlave Hero

[@usercmd18]
#ACT
goto @StdModeFunc13

;	WarSlave divine

[@usercmd19]
#ACT
goto @StdModeFunc14

[@usercmd20]
#IF
random 6
#ACT
sendmsg 6 "You rolled a 1"
break

#IF
random 6
#ACT
sendmsg 6 "You rolled a 2"
break

#IF
random 6
#ACT
sendmsg 6 "You rolled a 3"
break

#IF
random 6
#ACT
sendmsg 6 "You rolled a 4"
break

#IF
random 6
#ACT
sendmsg 6 "You rolled a 5"
break

#IF
random 6
#ACT
sendmsg 6 "You rolled a 6"
break

;;	anti hack

[@usercmd21]
#ACT
addnamelist hack.txt
sendmsg 5 "Hack attempt detected"

[@usercmd22]
#ACT
addnamelist hack.txt
sendmsg 5 "Hack attempt detected"

[@usercmd23]
#ACT
addnamelist hack.txt
sendmsg 5 "Hack attempt detected"

;;	MENU

[@usercmd24]
HELLO


;;	hair

[@usercmd25]
#ACT
hairstyle 1
sendmsg 6 "Hair changed"

[@usercmd26]
#ACT
hairstyle 2
sendmsg 6 "Hair changed"

[@usercmd27]
#ACT
hairstyle 3
sendmsg 6 "Hair changed"

[@usercmd28]
#ACT 
hairstyle 0
sendmsg 6 "Hair changed"

;;

[@StdModeFunc17]
#IF
CHECKNAMELIST questslavetaoist2.txt
CHECKSLAVECOUNT > 0
GENDER MAN
#ACT
goto @holyno
break

#IF
CHECKNAMELIST questslavetaoist2.txt
CHECKSLAVECOUNT > 0
GENDER WOMAN
#ACT
goto @holyno
break

#IF
CHECKNAMELIST questslavetaoist2.txt
GENDER MAN
#ACT
goto @holytao
break

#IF
CHECKNAMELIST questslavetaoist2.txt
GENDER WOMAN
#ACT
goto @holytao0
break

#ELSEACT
goto @holyno

[@holyno]
#ACT
sendmsg 6 "Sorry but you cannot do that"

[@holytao]
#ACT
recallmob HolyTaoSlave 8
sendmsg 6 "HolyTaoSlave summoned"

[@holytao0]
#ACT
recallmob HolyTaoSlave0 8
sendmsg 6 "HolyTaoSlave summoned"

; 	HolyTaoSlave

[@usercmd29]
#ACT
goto @StdModeFunc17


;	Revival

[@usercmd31]
#IF
checkitem revivalviel 1
#ACT
take revivalviel 1
GMEXECUTE Realive SELF
sendmsg 6 "Revival successful!"
close
#ELSEACT
close


;----------------------- Kill count!

[@KillPlay]
#IF
checknamelist ..\market_def\KillCount\Variables\enabled.txt
#ACT
CalcVar Human KillCount1 + 1
SaveVar Human KillCount1 ..\market_def\KillCount\Variables\Integral.txt
sendmsg 6 "You're current PKPOINTS are now <$PKPOINT> and you have killed <$HUMAN(KillCount1)> People."
#ELSEACT
sendmsg 6 "You're current PKPOINTS are now <$PKPOINT>"

;----------------------- DIED

[@PlayDie]
;#IF
;checkitem revivalviel 1
#ACT
;take revivalviel 1
;GmExecute Realive SELF
;close
;#ELESEACT
sendmsg 6 "You have died, press alt+x to log back out and in."

;------------------- Revival

[@usercmd30]
#IF
checkitem revivalviel 1
#ACT
take revivalviel 1
GMEXECUTE Realive SELF
sendmsg 6 "Revival successful!"
close
#ELSEACT
close

;------------------- Revival double click

[@StdModeFunc18]
#IF
checkitem revivalviel 1
#ACT
take revivalviel 1
GMEXECUTE Realive SELF
sendmsg 6 "Revival successful!"
close
#ELSEACT
close

;------------------- Save bonelord

[@usercmd32]
#IF
checkslavename BoneLord
#ACT
addnamelist ../defines/BoneLord.txt
goto @success
break

#ELSEACT
sendmsg 6 "Denied"


[@success]
#ACT
mapmove 0148
KICK 1
#SAY
i stored your pet so you will get it again after you relog.\
your pet will be level 0 sorry.\


;------------------- Gamepoints output

[@usercmd33]
#ACT
sendmsg 6 "Current GamePoint's are : <$GAMEPOINT>"

;------------------- Gamegold output

[@usercmd34]
#ACT
sendmsg 6 "Current GameGold Is : <$GAMEGOLD>"

;------------------- Event output

[@usercmd35]
#IF
checkitem townteleport 1
#ACT
goto @eventmove1
#ELSEACT
goto @eventmove2


[@eventmove1]
#IF
checklevelex > 45
#ACT
mapmove F009
break
close

#IF
checklevelex > 29
#ACT
mapmove F008
break
close

#IF
checklevelex > 6
#ACT
mapmove F007
break
close

#ELSEACT
sendmsg 6 "Sorry you need to be over level 7 to use the event teleport feature"

[@eventmove2]
#IF
checklevelex > 45
#ACT
mapmove F009
give townteleport 1
break
close

#IF
checklevelex > 29
#ACT
mapmove F008
give townteleport 1
break
close

#IF
checklevelex > 6
#ACT
mapmove F007
give townteleport 1
break
close

#ELSEACT
sendmsg 6 "Sorry you need to be over level 7 to use the event teleport feature"





